package com.xu.wemall.easyexcel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
public class TableDto {

    //1、实体需要增加注解索引值：
    @ExcelProperty(value = "一级菜单",index = 0)
    private String menuLevel1;

    @ExcelProperty(value = "二级菜单",index = 1)
    private String menuLevel2;

    @ExcelProperty(value = "三级菜单",index = 2)
    private String menuLevel3;
}
